package cn.gson.crmdemo.model.mapper;

import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import com.alibaba.fastjson.JSONArray;

@Mapper
public interface NoticeMapper {
	//查询所有通知
	public JSONArray selectNoticeAll(@Param("objects")String objects,@Param("selectType")Integer selectType);
	//查询重要通知
	public JSONArray selecNoticeAll0();
	//查询通知
	public JSONArray selecNoticeAll1();
	//查询业界
	public JSONArray selecNoticeAll2();
	//查询其他
	public JSONArray selecNoticeAll3();
	//根据编号查询通知
	public JSONArray selectNotices(Integer noticeId);
}
